<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>资金到位</title>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/easyui/themes/default/easyui.css" />
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/easyui/themes/icon.css" />
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/buttons.css" />
<link rel="stylesheet" type="text/css" href="/jxcsxm/js/autocomplete/jquery.autocomplete.css" />
<script type="text/javascript" src="${pageContext.request.contextPath}/easyui/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-form.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/easyui/datagrid-detailview.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/easyui/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/util/jquery.cookie.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/YMLib.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/YWLib.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/autocomplete/jquery.autocomplete.js" ></script>
<style type="text/css">.table{border: 1px solid #FFE7BA;} .table tr{border: 1px solid #FFE7BA;} .table tr td{border: 1px solid #FFE7BA;}</style>
<script type="text/javascript">



$(function(){
	
	$("#xmmc").val(parent.YMLib.Var.data.xmmc);
	$("#twh").val(parent.YMLib.Var.data.twh);
	$("#jwh").val(parent.YMLib.Var.data.jwh);
	$("#jhje").val(parent.YMLib.Var.data.jhje);
	$("#bz").val(parent.YMLib.Var.data.bz);
	queryysqlist(parent.YMLib.Var.data.id);
})




function queryysqlist(id){
	var params={'gtzjjhlrMx.jhid':id};
	var col;
	col=[[
	{field:'zhjhje',title:'用户计划金额(万元)',width:100,align:'center'},
	{field:'sqrq',title:'申请日期',width:125,align:'center'},
	{field:'bcje',title:'申请金额(万元)',width:100,align:'center'},
	{field:'hm',title:'户名',width:175,align:'center'},
	{field:'khh',title:'开户行',width:225,align:'center'},
	{field:'zh',title:'账号',width:200,align:'center'},
	{field:'xmlx',title:'项目类型',width:100,align:'center'},
	{field:'bz',title:'备注',width:200,align:'center'},
]];
	$('#ysqlb').datagrid({    
	    url:'/jxcsxm/tjbb/queryGtzjlist.do',
	    striped:true,
	    pagination:true,
	    rownumbers:true,
	    pageNumber:1,
	    pageSize:5,
	    checkOnSelect:true,
	    
	    queryParams: params,
	    columns:col
	}); 
}
</script>
</head>
<body>

<form id="submit" action="/jxcsxm/tjbb/insertSbzjGtzjsq.do" method="post">
<table class='table' style="width: 100%; background-color: #FFE7BA; font-size: 12px"
			border="0" cellpadding="3" cellspacing="1">
			
			<tr style="height: 35px;">
				<td style="background-color:#FFEFD5;color: #007DB3; font-weight: bold;" align="right"  width="140px;">
				项目名称：</td>
				<td style="background-color: #ffffff; height: 20px;" align="left" colspan="3">
					<input type="text" name="xmjbxx.xmmc" id="xmmc" style="width: 700px" readonly="readonly"/>
					<input type="hidden" name="xmjbxx.id" id="id"  />
					</td>
				<!-- <td style="background-color:#FFEFD5;color: #007DB3; font-weight: bold;" align="right">
				国债：</td>
				<td style="background-color: #ffffff; height: 20px;" align="left">
					<input type="text" name="gz" id="gz" onchange="yzsz(this)" style="width: 120px" />万元</td>
				 -->
			</tr>
			<tr style="height: 35px;">
				<td style="background-color:#FFEFD5;color: #007DB3; font-weight: bold;" align="right" width="140px;">
				厅文号：</td>
				<td style="background-color: #ffffff; height: 20px;" align="left">
					<input type="text" name="xmjbxx.twh" id="twh"  style="width: 200px" readonly="readonly"/>
					</td>
				<td style="background-color:#FFEFD5;color: #007DB3; font-weight: bold;" align="right" width="140px;">
				局文号：</td>
				<td style="background-color: #ffffff; height: 20px;" align="left">
					<input type="text" name="xmjbxx.jwh" id="jwh"  style="width: 200px" readonly="readonly"/>
					</td>
				
			</tr>
			<tr style="height: 35px;">
				<td style="background-color:#FFEFD5;color: #007DB3; font-weight: bold;" align="right">
				项目计划金额：</td>
				<td style="background-color: #ffffff; height: 20px;" align="left" colspan="3">
					<input type="text" name="xmjbxx.jhje" id="jhje" onchange="yzsz(this)" style="width: 120px" readonly="readonly" />万元</td>
				<td style="background-color:#FFEFD5;color: #007DB3; font-weight: bold;" align="right">
				<!-- 用户计划金额：</td>
				<td style="background-color: #ffffff; height: 20px;" align="left">
					<input type="text" name="zhjhje" id="zhjhje" onchange="yzsz(this)" style="width: 120px" readonly="readonly"/>万元</td> -->
			</tr>
			<tr style="height: 35px;">
				<td style="background-color:#FFEFD5;color: #007DB3; font-weight: bold;" align="right">
				备注：</td>
				<td style="background-color: #ffffff; height: 20px;" align="left" colspan="3">
					<input type="text" name="xmjbxx.bz" id="bz" style="width: 620px" /></td>
			</tr>
			
			<tr style="height: 35px;">
				<td colspan="4" style="background-color: #ffffff;"align="center">
						申请列表
				</td>
				
			</tr>
			<tr style="height: 35px;" >
				<td colspan="4" style="background-color: #ffffff;"align="center">
				<table  id='ysqlb'>
				</table>
				</td>
			</tr>
		</table>
	</form>
</body>
</html>